import { createApp } from 'vue'
import './styles/index.less'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from '@/router/index.js'

// 自适应
import '@/utils/rem.js'
// 注册图标
import { registerIcons } from '@/utils/registerIcon'

const app = createApp(App)
// 注册图标
app.use(registerIcons)
app.use(ElementPlus)
app.use(router)
app.mount('#app')
